mypackage com.felight.ems.hr.test.Test;

class Employee{
	int empid;
	String empname;
	String empaddr;
	char gender;
	float salary;
	
	public Employee()
	{
		this.empid=000;
		this.empname="not specified";
		this.empaddr="not specified";
		this.gender='m';
		this.salary=00000;
	}
	
	public Employee(int empid,String empname,String empaddr,char gender,float salary)
	{
		this.empid=empid;
		this.empname=empname;
		this.empaddr=empaddr;
		this.gender=gender;
		this.salary=salary;
	} 
	
	public void print()
	{
		System.out.println("empid= "+empid);
		System.out.println("empname= "+empname);
		System.out.println("empaddr= "+empaddr);
		System.out.println("gender= "+gender);
		System.out.println("salary= "+salary);
		System.out.println();
	}
}

class Emp{
	public static void main(String[] args)
	{
		Employee emp1=new Employee();
		Employee emp2=new Employee(1002,"kumar","bang",'m',20000);
		Employee emp3=new Employee();
		Employee emp4=new Employee();
		Employee emp5=new Employee();
	
		//emp1.empid=1002;
		//emp2.empid=1003;
		emp3.empid=1004;
		emp4.empid=1005;
		emp5.empid=1006;
		
		//emp1.empname="kumar";
		//emp2.empname="mohammed";
		emp3.empname="mehar";
		emp4.empname="vinod";
		emp5.empname="manju";

		//emp1.empaddr="vijaynagar, bangalore";
		//emp2.empaddr="jaynagar, bangalore";
		emp3.empaddr="udupi, mangalore";
		emp4.empaddr="bharthinagar, mandya";
		emp5.empaddr="marutinagar, mumbai";

		//emp1.gender='m';
		//emp2.gender='m';
		emp3.gender='f';
		emp4.gender='m';
		emp5.gender='m';

		//emp1.salary=20000;
		//emp2.salary=30000;
		emp3.salary=40000;
		emp4.salary=25000;
		emp5.salary=35000;
		
		emp1.print();
		emp2.print();
		emp3.print();
		emp4.print();
		emp5.print();
		
	}
}

		